package com.schoolcloud.serve.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;

/**
 * 失物表
 *
 * @TableName lost_items
 */
@TableName(value = "lost_items")
@Data
public class LostItems implements Serializable {
    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer lostItemId;
    /**
     * 分类编号
     */
    private Integer categoryId;
    /**
     * 发布者
     */
    private Integer userId;
    /**
     * 失物名称
     */
    private String itemName;
    /**
     * 描述
     */
    private String description;
    /**
     * 丢失地点
     */
    private String location;
    /**
     * 丢失时间
     */
    private LocalDateTime lostTime;
    /**
     * 图片
     */
    private String defaultPicture;
    /**
     * 状态（丢失，找回）
     */
    private Integer status;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
    /**
     * 修改时间
     */
    private LocalDateTime updateTime;
    /**
     * 备注
     */
    private String remark;
    private Integer schoolId;
    /**
     *标题
     */
    private String title;

    private String emergencyLevel;
    private String objectStatus;
}
